﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [DisplayName("User")]
    [Table("SYS_USER")]
    public class User
    {

        [Column("USER_ID")]
        [Key]
        public string ID { get; set; }

        [Column("USER_NAME")]
        public string Name { get; set; }


        [Column("USER_PASSWORD")]
        public string Password { get; set; }

        public List<UserRole> UserRoles { get; set; }

    }
}
